from django.conf.urls import url

from . import views

urlpatterns = (
    url(r"^$", views.home),  # 匹配根路径 /
    url(r"^dev-guide/$", views.dev_guide),  # 匹配 /dev-guide/
    url(r"^contact/$", views.contact),  # 匹配 /contact/
    # 修复业务相关路由，添加 ^ 和 $ 严格匹配
    url(r"^biz-list$", views.get_bizs_list),  # 严格匹配 /biz-list
    url(r"^set-list$", views.get_sets_list),  # 严格匹配 /set-list
    url(r"^module-list$", views.get_modules_list),  # 严格匹配 /module-list
    url(r"^host-list$", views.get_hosts_list),  # 严格匹配 /host-list
    url(r"^host-detail$", views.get_host_detail),  # 严格匹配 /host-detail
)
